import request from '@/utils/request'

// 查询步骤列表
export function getBaseStepList(data) {
  return request({
    url: '/baseStep/getBaseStepList',
    method: 'post',
    data
  })
}

// 新增步骤
export function addStep(data) {
  return request({
    url: '/baseStep/addStep',
    method: 'post',
    data
  })
}

// 修改步骤
export function updateStep(data) {
  return request({
    url: '/baseStep/upStep',
    method: 'post',
    data
  })
}

// 删除步骤
export function delStep(data) {
  return request({
    url: '/baseStep/delStep',
    method: 'post',
    data
  })
}


// 设置事项步骤关联
export function stepBindService(data) {
  return request({
    url: '/baseStep/stepBindService',
    method: 'post',
    data
  })
}


// 获取事项步骤关联
export function getStepByService(params) {
  return request({
    url: '/baseStep/getStepByService',
    method: 'get',
    params
  })
}


